From: Miles Bader Date: Thu, 4 Sep 2003 16:01:15 +0000 (+0000) Subject: Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-34 X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~25625 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=0919562532afb97b73587ceb2688c748bbd0cee4;p=emacs.git Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-34 Create the info subdir at build-time if necessary --- diff --git a/man/ChangeLog b/man/ChangeLog index 849c656fcb5..b1746ac32d0 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,3 +1,9 @@ +2003-09-04 Miles Bader + + * Makefile.in (top_srcdir): New variable. + ($(top_srcdir)/info): New rule. + (info): Depend on it. + 2003-09-03 Peter Runestig * makefile.w32-in: New file. diff --git a/man/Makefile.in b/man/Makefile.in index 2d3014c6dce..fc0729a56b2 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -25,6 +25,7 @@ # utility programs is expected to be in ${srcdir}/lib-src. This is # set by the configure script's `--srcdir' option. srcdir=@srcdir@ +top_srcdir=@top_srcdir@ # Tell make where to find source files; this is needed for the makefiles. VPATH=@srcdir@ @@ -102,7 +103,10 @@ EMACSSOURCES= \ ${srcdir}/ack.texi \ ${srcdir}/kmacro.texi -info: $(INFO_TARGETS) +$(top_srcdir)/info: + mkdir $@ + +info: $(top_srcdir)/info $(INFO_TARGETS) dvi: $(DVI_TARGETS)